package com.project.communitymanagement.controller;

import com.project.communitymanagement.common.BaseController;
import com.project.communitymanagement.entity.TbSalaryAdjustment;
import com.project.communitymanagement.service.TbSalaryAdjustmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("tbsalaryadjustment")
public class TbSalaryAdjustmentController extends BaseController<TbSalaryAdjustmentService, TbSalaryAdjustment> {

    @Autowired
    private TbSalaryAdjustmentService tbsalaryadjustmentService;

    @Override
    protected TbSalaryAdjustmentService service() {
        return tbsalaryadjustmentService;
    }
}
